//
// Created by alexa on 5/2/2024.
//

#include "TransportChargingMachine.h"

float TransportChargingMachine::getLength() const {
    return length;
}

void TransportChargingMachine::setLength(float length) {
    this->length = length;
}

float TransportChargingMachine::getWidth() const {
    return width;
}

void TransportChargingMachine::setWidth(float width) {
    this->width = width;
}

float TransportChargingMachine::getMaxSpeed() const {
    return maxSpeed;
}

void TransportChargingMachine::setMaxSpeed(float maxSpeed) {
    this->maxSpeed = maxSpeed;
}

float TransportChargingMachine::getPowerReserve() const {
    return powerReserve;
}

void TransportChargingMachine::setPowerReserve(float powerReserve) {
    this->powerReserve = powerReserve;
}

float TransportChargingMachine::getPreparingTime() const {
    return preparingTime;
}

void TransportChargingMachine::setPreparingTime(float preparingTime) {
    this->preparingTime = preparingTime;
}

float TransportChargingMachine::getWeight() const {
    return weight;
}

void TransportChargingMachine::setWeight(float weight) {
    this->weight = weight;
}

TransportChargingMachine::TransportChargingMachine(float length, float width, float maxSpeed, float weight,
                                                   float powerReserve, float preparingTime) : length(length),
                                                                                              width(width),
                                                                                              maxSpeed(maxSpeed),
                                                                                              weight(weight),
                                                                                              powerReserve(
                                                                                                      powerReserve),
                                                                                              remainingPowerReserve(
                                                                                                      powerReserve),
                                                                                              preparingTime(
                                                                                                      preparingTime) {}

float TransportChargingMachine::getRemainingPowerReserve() const {
    return remainingPowerReserve;
}

void TransportChargingMachine::setRemainingPowerReserve(float remainingPowerReserve) {
    this->remainingPowerReserve = remainingPowerReserve;
}
